package com.sec.etech.employeesync.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 教育经历
 * @TableName org_employee_educational_experience
 */
@TableName(value ="org_employee_educational_experience")
@Data
public class OrgEmployeeEducationalExperience implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "educational_experience_id")
    private Long educationalExperienceId;

    /**
     * 员工ID
     */
    @TableField(value = "employeeid")
    private Long employeeid;

    /**
     * 开始时间
     */
    @TableField(value = "start_date")
    private Date startDate;

    /**
     * 结束时间
     */
    @TableField(value = "end_date")
    private Date endDate;

    /**
     * 毕业院校
     */
    @TableField(value = "school_id")
    private Long schoolId;

    /**
     * 专业
     */
    @TableField(value = "major_id")
    private Long majorId;

    /**
     * 学历
     */
    @TableField(value = "education_id")
    private Long educationId;

    /**
     * 学位
     */
    @TableField(value = "degree_id")
    private Long degreeId;

    /**
     * 学习形式
     */
    @TableField(value = "learning_form_id")
    private Long learningFormId;

    /**
     * 有效性
     */
    @TableField(value = "active")
    private Integer active;

    /**
     * 创建者
     */
    @TableField(value = "postuid", fill = FieldFill.INSERT)
    private Long postuid;

    /**
     * 创建时间
     */
    @TableField(value = "postdate", fill = FieldFill.INSERT)
    private Date postdate;

    /**
     * 修改者
     */
    @TableField(value = "lastuid", fill = FieldFill.INSERT_UPDATE)
    private Long lastuid;

    /**
     * 修改时间
     */
    @TableField(value = "lastdate", fill = FieldFill.INSERT_UPDATE)
    private Date lastdate;
}
